// index.js
Page({
  data: {
        num:10,
        msg:"这是改变之前的数据",
        flag:1,
        arr:[12,34,54354,6666,45],
        arr1:["apple",'banner',"orange"]
  },
  changeNum(index) {
    // console.log(111);
    console.log(index.target.dataset);
    console.log(index.target.dataset.num);
    let dataNum = index.target.dataset.num;
    this.setData({num:dataNum,msg:"这是改变之后的数据111"})

 },
 changInp:function(event) {
    console.log("input");
    console.log(event.detail.value);
 }

       
  
})
